import VueRouter from 'vue-router'
import Vue from 'vue'
import login from '../components/login'
import list from '../components/comList'
Vue.use(VueRouter)
export default new VueRouter({
  routes: [
    {
      path: '/',
      name: '首页',
      component: list
    },
    {
      path: '/login',
      name: '注册',
      component: login
    }
  ]
})
